package com.cqhfan.imservice.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cqhfan.pojo.im.dto.UnReadMessageDTO;
import com.cqhfan.pojo.im.po.ImMessage;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author 眭传洪
 * @create 2025-08-16 2:16
 */
public interface ImMessageMapper extends BaseMapper<ImMessage> {

    List<UnReadMessageDTO> countUnReadMessage(@Param("chatListIds") List<Long> chatListIds);

}
